package com.qfedu.buy.api.api;

import com.qfedu.buy.api.service.intf.UserService;
import com.qfedu.buy.common.vo.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: NeighborBuy
 * @description:
 * @author: Feri(邢朋辉)
 * @create: 2021-01-28 10:03
 */
@RestController
@RequestMapping("/api/user/")
public class UserApi {
    @Autowired
    private UserService service;

    @GetMapping("detailall.do")
    public R detailAll(){
        return service.detailAll();
    }
    @GetMapping("collectall.do")
    public R collectAll(){
        return service.collectAll();
    }
}
